home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / mem.z / mem
Encoding:
Text File  |  2002-10-03  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. MMMMEEEEMMMM((((7777))))                                                                  MMMMEEEEMMMM((((7777))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mem, kmem, mmem - core memory
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The file /_d_e_v/_m_e_m is a special file that is an image of the core memory
  13.      of the computer.  It may be used, for example, to examine, and even to
  14.      patch the system.
  15.  
  16.      Byte addresses in /_d_e_v/_m_e_m are interpreted as memory addresses.
  17.      References to non-existent locations cause errors to be returned.
  18.  
  19.      Examining and patching device registers is likely to lead to unexpected
  20.      results when read-only or write-only bits are present.
  21.  
  22.      The file /_d_e_v/_k_m_e_m is similar to /_d_e_v/_m_e_m except that kernel virtual
  23.      memory, rather than physical memory, is accessed.  _r_e_a_d(_2) and _w_r_i_t_e(_2)
  24.      access is supported, to kernel virtual space that represents physical
  25.      memory.  _m_m_a_p(2) access to /_d_e_v/_k_m_e_m is not supported.  This is due to
  26.      _m_m_a_p creating data consistency problems which could lead to corrupted
  27.      data and kernel panics.
  28.  
  29.      The file /_d_e_v/_m_m_e_m is similar to /_d_e_v/_k_m_e_m except that only _m_m_a_p(2)
  30.      access is permitted (both read and write), and only for those addresses
  31.      configured into the system via the file /_v_a_r/_s_y_s_g_e_n/_m_a_s_t_e_r._d/_m_e_m and the
  32.      /_e_t_c/_a_u_t_o_c_o_n_f_i_g script.
  33.  
  34. FFFFIIIILLLLEEEESSSS
  35.      /dev/mem
  36.      /dev/kmem
  37.      /dev/mmem
  38.  
  39. WWWWAAAARRRRNNNNIIIINNNNGGGG
  40.      Some of /_d_e_v/_k_m_e_m cannot be read because of write-only addresses or
  41.      unequipped memory addresses.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.